﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VideoClassLibrary.Model;
using VideoClassLibrary.BusinessLogicLayer;
using System.Data;

public partial class ClassRoomManagement_SVR_IPC_Management_SVRConfigurationList : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            bindSvrInfoList();
        }
    }

    private void bindSvrInfoList()
    {
        SVR_IPC_Module svr = new SVR_IPC_Module();
        DataSet ds = svr.GetSVRInfoList("");
        this.rptSVRList.DataSource = ds;
        this.rptSVRList.DataBind();
       
    }
    public void btnUpdate_Click(object sender, CommandEventArgs e)
    {
        Response.Redirect("AddSVRInfo.aspx?SVRID=" + e.CommandArgument.ToString());
    }
    protected void Button1_Click(object sender, EventArgs e)
    {

        Response.Redirect("AddSVRInfo.aspx");
    }
}
